<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="always" name="referrer">
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>商品详情</title>
    <link rel="stylesheet" href="/LianniuWeb/css/staff/reset.css">
    <link rel="stylesheet" href="/LianniuWeb/css/staff/product_detail.css">
    <link rel="stylesheet" href="/LianniuWeb/css/new/swiper3.1.0.min.css" />
</head>
<body>
<!--轮播图-->
<div class="swiper-container">
    <div class="swiper-wrapper">
        <div class="swiper-slide" id="img1">
            <img src="" alt="" class="big_pic"/>
        </div>
        <div class="swiper-slide" id="img2">
            <img src="" alt="" class="big_pic"/>
        </div>
        <div class="swiper-slide" id="img3">
            <img src="" alt="" class="big_pic"/>
        </div>
    </div>
    <!-- 如果需要分页器 -->
    <div class="swiper-pagination"></div>
</div>
<!--内容-->
<div class="product_box">
    <div class="">
        <div class="con_tit">
            <p id="productName"></p>
            <span id="productPrice">¥/头</span>
        </div>
        <p class="con_normal" id="cate">类别：<span></span></p>
        <p class="con_normal" id="overPlus">库存：头</p>
        <p class="con_normal" id="remark">备注：</p>
        <p class="con_normal" id="areaName">货源地：</p>
        <p class="con_normal" id="id">编号：</p>
        <p class="con_normal" id="supply "></p>
        <input type="hidden" id="idHidden" value="0"/>
    </div>
    <span class="change_btn">平台售完下架</span>
    <span class="del_btn">卖家售完下架</span>
</div>
<div class="box_btn2">
    <input type="button" value="联系供应商" class="cancel_btn2" id="contactSupply">
    <input type="button" value="编辑货源" class="sure_btn2" >
</div>
<!--弹出框-->
<div class="attention_box attention_box1 disno1">
    <div class="attention_content">
        <div class="phone_box">
            <span>价格：</span>
            <input type="text" id="price" placeholder="请输入">
        </div>
        <div class="password_box">
            <span>库存：</span>
            <input type="text" id="stock" placeholder="请输入">
        </div>
        <div class="box_btn">
            <input type="button" value="取消" class="cancel_btn"/>
            <input type="button" value="确定" class="sure_btn" id="change"/>
        </div>
    </div>
</div>
<!-- 弹框2 -->
<div class="attention_box attention_box2 disno1">
    <div class="attention_content2">
        <div class="phone_con">
            <span>供应商联系方式</span>
            <br>
            <span id="supplyPhone"></span>
        </div>
        <div class="btn_box">
            <input type="button" value="取消">
            <p></p>
            <input type="button" value="立即拨打" class="call" onclick="call();">
        </div>
    </div>
</div>
<!-- 弹框3 -->
<div class="attention_box attention_box3 disno1">
    <div class="attention_content2">
        <div class="phone_con">
            <span>下架商品将不继续在业务员端展示，</span>
            <br>
            <span>您确定要下架吗？</span>
        </div>
        <div class="btn_box">
            <input type="button" value="取消">
            <p></p>
            <input type="button" value="确定" class="call" id="cancel">
        </div>
    </div>
</div>
<!-- 弹框4 -->
<div class="attention_box attention_box4 disno1">
    <div class="attention_content2">
        <div class="phone_con">
            <span>下架商品将不继续在业务员端展示，</span>
            <br>
            <span>且库存改为0，您确定要下架吗？</span>
        </div>
        <div class="btn_box">
            <input type="button" value="取消">
            <p></p>
            <input type="button" value="确定" class="call" id="confirm">
        </div>
    </div>
</div>
<!--底部-->
<div class="detail_bottom">
    <div class="index2" onclick="window.location.href='/LianniuWeb/staff/index.do'">
        <p></p>
        <span class="color_green">牛舍</span>
    </div>
    <div class="market_gray" onclick="window.location.href='/LianniuWeb/staff/clients.do'">
        <p></p>
        <span>客户</span>
    </div>
    <div class="order_gray" onclick="window.location.href='/LianniuWeb/staff/orders.do'">
        <p></p>
        <span>订单</span>
    </div>
    <div class="my_gray" onclick="window.location.href='/LianniuWeb/staff/personal.do'">
        <p></p>
        <span>我的</span>
    </div>
</div>
<script src="/LianniuWeb/js/underscore/underscore.js"></script>
<script src="/LianniuWeb/js/commons/commons.js"></script>
<script src="/LianniuWeb/js/commons/util.js"></script>
<script src="/LianniuWeb/js/jquery/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="/LianniuWeb/js/buyer/flexible.js"></script>
<script src="/LianniuWeb/css/new/build/layui.js" charset="utf-8"></script>
<script src="/LianniuWeb/js/buyer/swiper3.1.0.min.js"></script>
<script src="/LianniuWeb/js/staff/productDetail.js"></script>
<script type="text/javascript">
    var mySwiper = new Swiper ('.swiper-container', {
        loop: true,
        pagination: '.swiper-pagination',
        autoplay : 1000,
    })
    function showBox(cls, box, close1) {
        cls.click(function() {
            box.removeClass(close1);
        })
    };
    function closeBox(cls, box, close1) {
        cls.click(function() {
            box.addClass(close1);
        })
    };
    showBox($('.sure_btn2'), $('.attention_box1'), 'disno1');
    showBox($('.cancel_btn2'), $('.attention_box2'), 'disno1');
    showBox($('.change_btn'), $('.attention_box3'), 'disno1');
    showBox($('.del_btn'), $('.attention_box4'), 'disno1');
    closeBox($('.box_btn > input'), $('.attention_box1'), 'disno1');
    closeBox($('.btn_box > input'), $('.attention_box2'), 'disno1');
    closeBox($('.btn_box > input'), $('.attention_box3'), 'disno1');
    closeBox($('.btn_box > input'), $('.attention_box4'), 'disno1');
</script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?867c800f411683d2a7fa9eb1eabd9736";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</body>
</html>